package com.yuehuanghun.admin.core.controller.tool;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.yuehuanghun.framework.annotation.AutoWrap;

import cn.dev33.satoken.annotation.SaCheckPermission;

/**
 * swagger 接口
 * 
 * @author yadmin
 */
@Controller
@RequestMapping("/tool/swagger")
public class SwaggerController {
	@SaCheckPermission("tool:swagger:view")
	@GetMapping()
	@AutoWrap(false)
	public String index() {
		return "redirect:" + "/swagger-ui.html";
	}
}
